<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	body{
		width:300px;
		background-color:white;
		padding-left:20px;
	}
	
	input{
		border:2px solid gray;
		border-radius: 10px;
		background-color: white;
	}
	#intr{
	width:300px;
	height:100px;
	}
</style>

</head>

<body>

<% 
  	String error =request.getParameter("error");

	if("1".equals(error)){%>
		<div  style="color:green;">添加成功</div>
	<%}
%>
<form action="<%=request.getContextPath()%>/ManegerServlet?action=addDirector" method="post" enctype="multipart/form-data">
	   
	   		名字：<input type="text"  name="name"><br><br>	
	   		头像：<input type="file"  name="image"><br><br>	
	   		<textarea name ="introduce" id='intr'>
	   			
	   		</textarea>	<br><br>
	   		<input type="submit"  value="添加">
	  
	       </form>
</body>
</html>